package com.sslpay.merchant.convert;

import com.sslpay.merchant.api.dto.MerchantDTO;
import com.sslpay.merchant.vo.MerchantDetailVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 描述：
 *
 * @author ssl
 * @create 2020/05/08 16:23
 */
@Mapper
public interface MerchantDetailConvert {
    MerchantDetailConvert INSTANCE = Mappers.getMapper(MerchantDetailConvert.class);

    MerchantDetailVO dtoToVo(MerchantDTO merchantDTO);

    MerchantDTO voToDto(MerchantDetailVO merchantDetailVO);
}
